package com.ler.yrmall.member.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ler.yrmall.basic.Form;
import com.ler.yrmall.member.entity.MemberEntity;

/**
 * @author Leron
 */
public interface MemberService extends IService<MemberEntity> {

    /**
     * 分页
     * @param request
     * @return
     */
    IPage<MemberEntity> find(Form request);

    /**
     * 注册
     * @param userRegisterVO
     */
//    void register(UserRegisterVO userRegisterVO);

    /**
     * 根据用户名获取
     * @param username
     * @return
     */
    MemberEntity getMemberByUserName(String username);

    /**
     * 签到
     * @return 签到结果
     */
    String checkin();

}

